<#if categoryList??>
    <#list categoryList as list>
    ${list.cname}&nbsp;&nbsp;&nbsp;
    <a href = "/admin/deletecategory/cid/${list.cid}" >删除品类</a>
    <hr>
    </#list>
</#if>

<form action="${request.contextPath}/admin/addc" name="form1" id="form1" method="post">
    品类名称:<input type="text" name="cname" id="cname">
    <input type="submit" name="submit" id="submit" value="提交">
</form>